{% extends "base.html" %}{% load i18n crm_tags %} {% block title %}{% translate "Backup" %}{% endblock %} {% block content %}
{% translate "Download all the call center’s data in one file, and put it back after reinstalling, updating or moving the CRM to another computer or server. Only administrators can do this." %}
{% translate "One .zip file with everything in the CRM now:" %}
{% translate "It also has the main lists as spreadsheets, so you can read the data offline in Excel without the CRM." %}
{% if last %}{% blocktranslate trimmed with when=last.at|date:"j M Y, H:i" who=last.who ago=last.at|timesince %}Last downloaded {{ when }} by {{ who }} ({{ ago }} ago).{% endblocktranslate %}
{% else %}{% translate "No backup has been downloaded yet." %}
{% endif %} {% translate "Download backup (.zip)" %}{% translate "The file holds prayer requests, giving and phone numbers. Keep it private: on a USB stick or the church’s cloud storage, not on a shared phone. Download one every week." %}
{% if second.one_computer %}{% blocktranslate trimmed with time=second.time|time:"H:i" %}Every night at {{ time }}, a full backup is copied to the place below. If this computer was off then, the copy is made as soon as the CRM runs again.{% endblocktranslate %}{% else %}{% translate "Every night, with the server’s own backup, a full backup is copied to the place below." %}{% endif %} {% blocktranslate trimmed count keep=second.keep %}The newest copy is kept there.{% plural %}The newest {{ keep }} copies are kept there.{% endblocktranslate %}
{% blocktranslate trimmed with when=second.last_ok.at|date:"j M Y, H:i" ago=second.last_ok.at|timesince %}Last good copy: {{ when }} ({{ ago }} ago).{% endblocktranslate %} {{ second.last_ok.note }}
{% else %}{% translate "No copy has been made yet. Press Copy now to test it." %}
{% endif %} {% if second.recent %}| {% translate "When" %} | {% translate "Who" %} | {% translate "What" %} |
|---|---|---|
| {{ e.at|date:"j M Y H:i" }} | {{ e.who }} | {{ e.get_kind_display }} |
{% translate "Choose a second place: a USB drive that stays plugged in, a shared folder on another office computer, or a folder that Google Drive, OneDrive or Dropbox keeps in sync. Then:" %}
SECOND_BACKUP_DIR=E:\CRM-backups to local-data/settings.txt, then close and start the CRM again.{% endblocktranslate %}SECOND_BACKUP_HOST_DIR (a second disk) or SECOND_BACKUP_RCLONE (cloud storage) in .env, as the README explains.{% endblocktranslate %}| {% translate "When" %} | {% translate "Who" %} | {% translate "What" %} |
|---|---|---|
| {{ e.at|date:"j M Y H:i" }} | {{ e.who }} | {{ e.get_kind_display }} |
{% translate "Nothing yet." %}
{% endif %}